package com.ruoyi.system.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 开药缴费对象 FEE_kaiyao
 * 
 * @author ruoyi
 * @date 2024-06-27
 */
public class FeeKaiyao extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 序号 */
    private Long id;

    /** 姓名 */
    @Excel(name = "姓名")
    private String name;

    /** 身份证号 */
    @Excel(name = "身份证号")
    private String sfid;

    /** 开药时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "开药时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date time;

    /** 开药医生 */
    @Excel(name = "开药医生")
    private String doctor;

    /** 药品名称 */
    @Excel(name = "药品名称")
    private String medicine;

    /** 药品单价 */
    @Excel(name = "药品单价")
    private String perPrice;

    /** 总价 */
    @Excel(name = "总价")
    private String totalPrice;

    /** 支付方式 */
    @Excel(name = "支付方式")
    private String payWay;

    /** 支付状态 */
    @Excel(name = "支付状态")
    private String payState;

    /** 备注 */
    @Excel(name = "备注")
    private String tip;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setSfid(String sfid) 
    {
        this.sfid = sfid;
    }

    public String getSfid() 
    {
        return sfid;
    }
    public void setTime(Date time) 
    {
        this.time = time;
    }

    public Date getTime() 
    {
        return time;
    }
    public void setDoctor(String doctor) 
    {
        this.doctor = doctor;
    }

    public String getDoctor() 
    {
        return doctor;
    }
    public void setMedicine(String medicine) 
    {
        this.medicine = medicine;
    }

    public String getMedicine() 
    {
        return medicine;
    }
    public void setPerPrice(String perPrice) 
    {
        this.perPrice = perPrice;
    }

    public String getPerPrice() 
    {
        return perPrice;
    }
    public void setTotalPrice(String totalPrice) 
    {
        this.totalPrice = totalPrice;
    }

    public String getTotalPrice() 
    {
        return totalPrice;
    }
    public void setPayWay(String payWay) 
    {
        this.payWay = payWay;
    }

    public String getPayWay() 
    {
        return payWay;
    }
    public void setPayState(String payState) 
    {
        this.payState = payState;
    }

    public String getPayState() 
    {
        return payState;
    }
    public void setTip(String tip) 
    {
        this.tip = tip;
    }

    public String getTip() 
    {
        return tip;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("name", getName())
            .append("sfid", getSfid())
            .append("time", getTime())
            .append("doctor", getDoctor())
            .append("medicine", getMedicine())
            .append("perPrice", getPerPrice())
            .append("totalPrice", getTotalPrice())
            .append("payWay", getPayWay())
            .append("payState", getPayState())
            .append("tip", getTip())
            .toString();
    }
}
